UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH daemon must only listen on management network addresses unless authorized for uses other than management.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22457 GEN005504 SV-35214r1_rule ECSC-1 Medium
Description
The SSH daemon should only listen on network addresses designated for management traffic. If the system has multiple network interfaces and SSH listens on addresses not designated for management traffic, the SSH service could be subject to unauthorized access. If SSH is used for purposes other than management, such as providing an SFTP service, the list of approved listening addresses may be documented.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2017-12-08

Details

Check Text ( C-36632r2_chk )
Ask the SA if any/all interfaces are authorized for management traffic. If all interfaces are authorized, this is not a finding.

Check the SSH daemon configuration for listening network addresses. Note that keywords are case-insensitive and arguments (args) are case-sensitive.

keyword=ListenAddress
arg(s)=

Default arg values include: NA. The default action is for the daemon to listen on all local addresses. In this case, the ListenAddress line entry will not be found in the configuration file.

Note: When the default "arg" value exactly matches the required "arg" value (see above), the are not required to exist (commented or uncommented) in the ssh (client) or sshd (server) configuration file. While not required, it is recommended that the configuration file(s) be populated with all keywords and assigned arg values as a means to explicitly document the ssh(d) binary's expected behavior.

# cat /opt/ssh/etc/sshd_config | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v '^#' | grep -i "ListenAddress"

If a returned 'ListenAddress' configuration entry contains addresses not designated for management traffic, this is a finding.
Fix Text (F-32001r2_fix)
Edit the configuration file to specify listening for network addresses designated for management traffic only, or remove the ListenAddress line entry.